import java.util.*;

public class ElectronicDevice extends Product {
    String color;
    Double screen;
    Integer storage;

    public ElectronicDevice(String name, Integer quantity, Double price, String comment, String status, String category, String color, Double screen, Integer storage) {
        super(name, quantity, price, comment, status, category);
        this.color = color;
        this.screen = screen;
        this.storage = storage;

    }

    public String getColor() {
        return color;
    }

    public Double getScreen() {
        return screen;
    }

    public Integer getStorage(){
        return storage;
    }

    @Override
    public String toString() {
        return "ElectronicDevice{" +
                "color='" + color + '\'' +
                ", screen=" + screen +
                ", storage=" + storage +
                ", Name='" + Name + '\'' +
                ", Quantity=" + Quantity +
                ", Price=" + Price +
                ", Comment='" + Comment + '\'' +
                ", Status='" + Status + '\'' +
                ", Category='" + Category + '\'' +
                '}';
    }
}


